package com.byinsight.service.dto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import eg.backend.util.TimeDimension;

public class QueryDefinition {
	private Date startDate;	
	private Date endDate;
	private String user;
	private String name;
	private TimeDimension timeDimension;
	private List<String> dimensions = new ArrayList<String>();	
	private String viewBy;//null means time
	private String tag;
	private String shop;
	private List<String> excludedDimensions = new ArrayList<String>();
	
	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public TimeDimension getTimeDimension() {
		return timeDimension;
	}

	public void setTimeDimension(TimeDimension timeDimension) {
		this.timeDimension = timeDimension;
	}

	public void addDimension(String dimension) {
		this.dimensions.add(dimension);
	}
	
	public List<String> getDimensions() {
		return dimensions;
	}

	public void setDimensions(List<String> dimensions) {
		this.dimensions = dimensions;
	}

	public String getViewBy() {
		return viewBy;
	}

	public void setViewBy(String viewBy) {
		this.viewBy = viewBy;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public String getShop() {
		return shop;
	}

	public void setShop(String shop) {
		this.shop = shop;
	}

	public List<String> getExcludedDimensions() {
		return excludedDimensions;
	}

	public void setExcludedDimensions(List<String> excludedDimensions) {
		this.excludedDimensions = excludedDimensions;
	}
	
}
